﻿<%@ Page Title="Articles" Language="C#" MasterPageFile="~/Web/bloglayout.Master" AutoEventWireup="true" CodeBehind="ArticlesCategory.aspx.cs" Inherits="pwblog.Web.ArticlesCategory" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="blogCPH" runat="server">

        <asp:Repeater ID="artiRepeater" runat="server">
        <ItemTemplate>
        <div class="post wrapper">
            <img width="200" height="200" src="<%# Eval("Image") %>" alt="<%# Eval("Name") %>" />
            <h3 class="arti_title">
                <a href="DetailsArticle.aspx?id=<%# Eval("Id") %>"><%# Eval("Name") %></a>
            </h3>
            <div class="arti_detail_info">
                <%# Eval("Description") %> ...
                <span class="readmore-link"><a href="DetailsArticle.aspx?id=<%# Eval("Id") %>">Read more</a></span>
            </div>
            <div class="post_footer">
                <div>
                    <span class="author">Posted by <span class="fn"><%# Eval("UserName") %></span></span>
                    <span class="date">At <span class="fn"><%# Eval("DatePost") %></span></span>
                    <span class="comment"><a href="#"><span class="fn">0</span> comment(s)</a></span>
                </div>
                <div>
                    <span class="post tags">Labels:</span>
                </div>
            </div>
            <div class="c"></div>
        </div>
        </ItemTemplate>
    </asp:Repeater>
    <!--
        <asp:Repeater ID="articleRepeater" runat="server">
            <ItemTemplate>
            <div class="title_article">
                <h2><a href="DetailsArticle.aspx?id=<%# Eval("Id") %>"><%# Eval("Name") %></a></h2>
                <p> Written by <b><%# Eval("UserName") %></b>, <%# Eval("DatePost") %></p>
            </div>
            <div class="description_article">
                <p><%# Eval("Description") %></p>
            </div>
            </ItemTemplate>
        </asp:Repeater>
        -->
    <br />
    <br />
    <asp:Label ID="lblResult" runat="server" Text=""></asp:Label>
</asp:Content>

